package com.yunzheng.modoules.enrollAndLogin.login.entity;

public class User {


    private int id;
    private String phone_num;
    private String password;
    private String username;
    private String gender;
    private String term;
    private String direction;

    public User(Integer id, String phone_num, String password, String username, String gender, String term, String direction) {
        this.id = id;
        this.phone_num = phone_num;
        this.password = password;
        this.username = username;
        this.gender = gender;
        this.term = term;
        this.direction = direction;
    }

    public int getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPhone_num() {
        return phone_num;
    }

    public void setPhone_num(String phone_num) {
        this.phone_num = phone_num;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getTerm() {
        return term;
    }

    public void setTerm(String term) {
        this.term = term;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", phone_num='" + phone_num + '\'' +
                ", password='" + password + '\'' +
                ", username='" + username + '\'' +
                ", gender='" + gender + '\'' +
                ", term='" + term + '\'' +
                ", direction='" + direction + '\'' +
                '}';
    }
}
